﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace Service
{
	[DataContract]
	public class DelordrelinieDTO
	{
        private VareDTO vare;
        private int antal;
        private double pris;       

        public DelordrelinieDTO(VareDTO vare, int antal, double pris)
        {
            this.vare = vare;
            this.antal = antal;
            this.pris = pris;
        }

		[DataMember]
        public VareDTO Vare
        {
            get { return vare; }
            set { vare = value; }
        }
        
		[DataMember]
        public int Antal
        {
            get { return antal; }
            set { antal = value; }
        }

		[DataMember]
        public double Pris
        {
            get { return pris; }
            set { pris = value; }
        }
	}
}